Piwik\Plugin\Visualization C

Total Complexity 125
Dependencies 30
Dependents 1
Total lines 761
Lines of code 449
Logical lines of code 281
Comment lines 144
Methods 31
Properties 4

Methods 31

Method Rating Maintainability Complexity Lines of code
getClientSideParametersToSet()
B
40 18 57
postDataTableLoadedFromAPI()
B
42 17 50
render()
A
38 12 69
buildApiRequestArray()
S
56 7 17
hasAnyData()
S
57 7 17
applyFilters()
S
51 5 28
removeEmptyColumnsFromDisplay()
S
57 5 16
addVisualizationInfoFromMetricMetadata()
S
59 5 13
logMessageIfRequestPropertiesHaveChanged()
S
52 4 25
getReportMetadata()
S
55 4 19
getClientSidePropertiesToSet()
S
62 4 11
loadDataTableFromAPI()
S
53 3 22
assignTemplateVar()
S
65 4 9
overrideSomeConfigPropertiesIfNeeded()
S
67 3 8
hasReportSegmentDisabled()
S
66 3 8
makePrettyArchivedOnText()
S
59 2 13
hasReportBeenPurged()
S
71 2 6
isThereDataToDisplay()
S
78 2 3
getIntIfValueIsBool()
S
79 2 3
checkRequestIsOnlyForMultiplePeriods()
S
67 2 8
checkRequestIsNotForMultiplePeriods()
S
68 2 7
makeSureArrayContainsOnlyStrings()
S
68 2 7
__construct()
S
64 2 9
isPluginActivated()
S
80 1 3
beforeLoadDataTable()
S
91 1 2
beforeGenericFiltersAreAppliedToLoadedDataTable()
S
91 1 2
afterGenericFiltersAreAppliedToLoadedDataTable()
S
91 1 2
afterAllFiltersAreApplied()
S
91 1 2
beforeRender()
S
91 1 2
fireBeforeRenderHook()
S
79 1 3
makeDataTablePostProcessor()
S
67 1 8